package com.nenglai.admin.modular.report.service.output;

import com.nenglai.model.report.entity.Download;
import com.nenglai.model.report.entity.Template;
import com.nenglai.report.Params;

import java.io.File;

public interface Output {
    Object output(Template template, File templateFile, Params params) throws Exception;
    File download(Download download);
}
